package com.ruubypay.biz.mvc.api.model.request;

import java.util.Map;

/**
 * 提交任务
 * @author chenhaiyang
 */
public class SubmitTask {

    /**
     * 任务Id
     */
    private String taskId;
    /**
     * 流程实例Id
     */
    private String processInstanceId;
    /**
     * 当前任务，审批人的批注
     */
    private String comment;
    /**
     * 流程变量
     */
    private Map<String,Object> processVariables;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Map<String, Object> getProcessVariables() {
        return processVariables;
    }

    public void setProcessVariables(Map<String, Object> processVariables) {
        this.processVariables = processVariables;
    }

    @Override
    public String toString() {
        return "SubmitTask{" +
                "taskId='" + taskId + '\'' +
                ", processInstanceId='" + processInstanceId + '\'' +
                ", comment='" + comment + '\'' +
                ", processVariables=" + processVariables +
                '}';
    }
}
